#ifndef HALLCALIBRATION_HPP_
#define HALLCALIBRATION_HPP_

#include "Common.hpp"

class Hall_Calibration {
private:
	double A[MAX_NUM_CALIB_MARKERS * 2][12], R[MAX_NUM_CALIB_MARKERS * 2];
public:
	Hall_Calibration(){}
	Hall_Calibration(double *xc3d,double *yc3d,double *zc3d, double *xcl, double* ycl, double* C, int ncp){}

	double *xc3d, *yc3d, *zc3d, xcl[MAX_NUM_CALIB_MARKERS], ycl[MAX_NUM_CALIB_MARKERS], *C;
	int ncp;
	void calculate_parameters();
	void least_square(int row, int column);
};

#endif
